package com.ruoyi.kanfang.mapper;

import java.util.List;
import com.ruoyi.kanfang.domain.BuildingDetailReduceLog;

/**
 * 商品房降价日志Mapper接口
 * 
 * @author limin
 * @date 2024-05-08
 */
public interface BuildingDetailReduceLogMapper 
{
    /**
     * 查询商品房降价日志
     * 
     * @param id 商品房降价日志主键
     * @return 商品房降价日志
     */
    public BuildingDetailReduceLog selectBuildingDetailReduceLogById(Long id);

    /**
     * 查询商品房降价日志列表
     * 
     * @param buildingDetailReduceLog 商品房降价日志
     * @return 商品房降价日志集合
     */
    public List<BuildingDetailReduceLog> selectBuildingDetailReduceLogList(BuildingDetailReduceLog buildingDetailReduceLog);

    /**
     * 新增商品房降价日志
     * 
     * @param buildingDetailReduceLog 商品房降价日志
     * @return 结果
     */
    public int insertBuildingDetailReduceLog(BuildingDetailReduceLog buildingDetailReduceLog);

    /**
     * 修改商品房降价日志
     * 
     * @param buildingDetailReduceLog 商品房降价日志
     * @return 结果
     */
    public int updateBuildingDetailReduceLog(BuildingDetailReduceLog buildingDetailReduceLog);

    /**
     * 删除商品房降价日志
     * 
     * @param id 商品房降价日志主键
     * @return 结果
     */
    public int deleteBuildingDetailReduceLogById(Long id);

    /**
     * 批量删除商品房降价日志
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBuildingDetailReduceLogByIds(Long[] ids);
}
